<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .tilt {
      width: 200px;
      height: 50px;
      background: #666;
      border-radius: 30px 0 30px 0;
      position: relative;
      text-align: center;
      align-content: center;
      margin: 20px auto;
      transform: skew(-30deg);
    }

    .tilt div {
      transform: skew(30deg);
      color: #fff;
      font-weight: bold;
    }

    .tilt::after {
      content: "";
      position: absolute;
      width: 40px;
      height: 40px;
      background: radial-gradient(circle at 0% 0%, transparent 0%,transparent 73%, #666 73%, #666 100%);
      left: -39px;
      bottom: 0px;

    }

    .tilt::before {
      content: "";
      position: absolute;
      width: 40px;
      height: 40px;
      background: radial-gradient(circle at 100% 100%, transparent 0%,transparent 73%, #666 73%, #666 100%);
      right: -39px;
      top: 0px;
    }
  </style>
</head>

<body>
  <div class="tilt">
    <div>倾斜按钮</div>
  </div>
</body>

</html>